package com.pingan.glue.gluegame.aip;


import com.alibaba.fastjson.JSONObject;
import com.pingan.glue.gluegame.aip.domain.AIPResponse;
import com.pingan.glue.gluegame.aip.domain.FaceAddDto;
import com.pingan.glue.gluegame.aip.domain.FaceFieldDto;
import com.pingan.glue.gluegame.aip.domain.FaceSearchDto;

public interface APIService {

    /**
     * 获取调用接口的权限 及即token
     */
    String auth();

    JSONObject add(FaceAddDto dto);

    JSONObject update(FaceAddDto dto);

    String faceDelete(FaceAddDto dto);

    FaceFieldDto detect(String image);

    AIPResponse search(FaceSearchDto dto);

}
